﻿using B.S.RbacData.ErrorCode;
using MediatR;

namespace B.S.RbacData.Write.API.Applications.Commands.RBAC
{
    /// <summary>
    /// 添加用户信息命令
    /// </summary>
    public class AddUserCommand:IRequest<ApiResult<int>>
    {


        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; } = null!;


        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; } = null!;

        /// <summary>
        /// 角色Ids
        /// </summary>

        public  List<int>  RoleIds { get; set; }
 


    }
}
